package com.guochenglang.www.pojo;

import com.guochenglang.www.pojo.annotate.Table;

/**
 * 收藏知识库表
 *
 * @author GuoChenglang
 */
@Table("collect_base")
public class CollectBase {
    /**
     * 主键
     */
    private Integer id;
    /**
     * 知识库id
     */
    private Integer baseId;
    /**
     * 用户id
     */
    private Integer userId;

    public CollectBase() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getBaseId() {
        return baseId;
    }

    public void setBaseId(Integer baseId) {
        this.baseId = baseId;
    }

    public CollectBase(Integer id, Integer userId, Integer baseId) {
        this.id = id;
        this.userId = userId;
        this.baseId = baseId;
    }
}
